package sen.myReport;

import java.util.List;

import org.hibernate.SessionFactory;

import sen.queryUtils.Cond;
import sen.queryUtils.Results;

public abstract class MyReportData {
	protected String reqReportId;
	protected String responsePage;
	protected byte[] datas;
	protected String myReportName;
	protected List<String> label;
	protected List<String> head;

	public abstract List<ExcelSheet> getExcelData(List<?> datas) throws Exception;
	public abstract Results query(SessionFactory sf, List<Cond> cond) throws Exception;
	
	public String getResponsePage() {
		return responsePage;
	}
	public void setResponsePage(String responsePage) {
		this.responsePage = responsePage;
	}
	public byte[] getDatas() {
		return datas;
	}
	public void setDatas(byte[] datas) {
		this.datas = datas;
	}
	public List<String> getLabel() {
		return label;
	}
	public void setLabel(List<String> label) {
		this.label = label;
	}
	public List<String> getHead() {
		return head;
	}
	public void setHead(List<String> head) {
		this.head = head;
	}
	public String getReqReportId() {
		return reqReportId;
	}
	public void setReqReportId(String reqReportId) {
		this.reqReportId = reqReportId;
	}
	public String getMyReportName() {
		return myReportName;
	}
	public void setMyReportName(String myReportName) {
		this.myReportName = myReportName;
	}
}